package com.example.daoman;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

//床位号
@Data
public class Beds {
    private int id;
    private int rid; //绑定的当前房间的id
    private String name;
    private String people;
//    对应的学生信息
    @TableField(exist = false)
    private User user;

//    对应的房间
    @TableField(exist = false)
    private Room room;

//    对应的楼层信息
    @TableField(exist = false)
    private Floor floor;
}
